import http from '@/utils/request.js'

export default {
    getCategory: {
        name: '获取小程序服务类目',
        url: `${import.meta.env.VITE_API_URL}/wechat/category`,
        async get (data) {
            return await http.get(this.url, data)
        },
    },

    getPubTemplateTitleList: {
        name: '获取类目下公用模板列表',
        url: `${import.meta.env.VITE_API_URL}/wechat/getPubTemplateTitleList`,
        async get (data) {
            return await http.get(this.url, data)
        },
    }

}
